package com.stars.services.system;
import com.stars.common.base.ResultMsg;
import com.stars.entity.system.SysMenuUrlsEntity;

import com.stars.services.BaseConfigService;

/**
 * @Title: 菜单与url的关系表 业务逻辑
 * @author dj
 * @date 2019-10-23 20:48:11
 * @version V1.0
 *
 */
public interface SysMenuUrlsConfigServices extends BaseConfigService<SysMenuUrlsEntity> {
    /**
     * 添加功能下菜单的其他功能地址关系
     * @param menuId 菜单id
     * @param urlIds url id
     * @return
     * @throws Exception
     */
    ResultMsg add(String menuId, String [] urlIds) throws Exception;

    /**
     * 删除关系
     * @param menuId
     * @param urlIds
     * @return
     * @throws Exception
     */
    ResultMsg delByIdAndUrlId(String menuId, String [] urlIds) throws Exception;
}